function Star(id,color,shape,size,posX,posY,directionAngle)
{
        this.id = id;
	this.color = "#"+color;
	this.shape = shape;
	this.size = size;
	this.posX = posX;
	this.posY = posY;
        this.directionAngle = directionAngle;
        this.visible=true;
	
	this.draw = function(c)
	{
            if( !this.visible )return false;
            c.strokeStyle=this.color;
            c.beginPath();
            c.arc(this.posX,this.posY,this.size/2,0,Math.PI*2);
            c.stroke();
            /**c.strokeStyle="#FFF";
            c.beginPath();
            c.moveTo(this.posX,this.posY);
            var x = 30*Math.sin(directionAngle);
            var y = 30*Math.cos(directionAngle);
            c.lineTo(this.posX+x,this.posY+y);
            c.stroke();*/
            //this.shape.draw();
		
	}
}